﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Aribaccio.Device
{
    /// <summary>
    /// 设备数据
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class DeviceData<T> : IDeviceData<T> where T : IDevice<IDevicePara>
    {
        /// <summary>
        /// 通道接口对象
        /// </summary>
        public T Channel { get; set; }
        /// <summary>
        /// 带参构造函数
        /// </summary>
        /// <param name="argChannel">通道接口对象</param>
        public DeviceData(T argChannel)
        {
            this.Channel = argChannel;
        }
    }
}
